<?php
	header("Content-Type: text/html;charset=utf-8");
	include("function/_nosql.php"); //
	include("function/function.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>IVV奥运会_<?= $web_titles ?></title>
<meta name="Keywords" content="IVV奥运会,<?= $web_keywords ?>" />
<meta name="Description" content="<?= $web_description ?>" />
<link rel="stylesheet" href="css/common.css"/>
<link rel="stylesheet" href="css/style.css"/>
<script type="text/javascript" src="js/baidutongji.js"></script>
</head>
<body>
    <!--top-bar begin-->
	<? include("_include.top.topbar.php") ?>
    <!--top-bar end-->
    <!--header begin-->
	<? include("_include.top.navbar.php") ?>
    <!--banner begin-->
    <!--banner begin-->
    <div class="inner-banner1">
        <div class="inner-pic"><img src="images/ban1.jpg" alt=""/></div>
    </div>
    <!--banner end-->
    <!--活动 begin-->
    <div class="f-item-box">
        <div class="content">
            <div class="hd-nav-wrap">
                <ul class="hd-nav">
                    <?php
						$bigclass_sql = "select * from kboy_bigclass where pid=69 order by bigclass_order asc, id asc";
						$bigclass_rows = mysql_query($bigclass_sql);
						while($bigclass_rs = mysql_fetch_array($bigclass_rows)){
							echo "<li ><a href='".$bigclass_rs['bigclass_urls']."'>".$bigclass_rs['bigclass_cn']."</a></li>";
						}
					?>
                </ul>
            </div>
            <style type="text/css">
            	.hd-nav li:nth-of-type(1) a{
            		color: #2260b4;
            		background: none;
            	}
            	.hd-nav li:nth-of-type(2) a{
            		color: #2260b4;
            		background: none;
            	}
            	.hd-nav li:nth-of-type(3) a{
            		color: #2260b4;
            		background: none;
            	}
            	.hd-nav li:nth-of-type(4) a{
            		color: #fff;
            		background: #2260b4;
            	}
            </style>
            <div class="bd-content pt35">
                <div class="con-pane on">
                    <div class="g-con">
                        <div class="g-con-item">
                            <div class="g-title">
                                <h3>IVV奥运会介绍</h3>
                                <div class="line"></div>
                            </div>
                            <div class="history_con">
                                <div class="con">
                                     <?=getClassName("kboy_news","news_content","news_bigclass=208")?>
                                </div>
                                <div class="more" style="display:none;"><a href="javascript:;">展开&gt;&gt;</a></div>
                            </div>
                        </div>
                        <div class="g-con-item">
                            <div class="g-title">
                                <h3><?=getClassName("kboy_news","news_title","news_bigclass=99")?></h3>
                                <div class="line"></div>
                            </div>
                            <div class="history_con">
                                <div class="con">
                                    <?=getClassName("kboy_news","news_content","news_bigclass=99")?>
                                </div>
                                <div class="more" style="display:none"><a href="javascript:;">展开&gt;&gt;</a></div>
                            </div>
                        </div>
                        <div class="g-con-item">
                            <div class="g-title">
                                <h3><?=getClassName("kboy_bigclass","bigclass_cn","id=100")?></h3>
                                <div class="line"></div>
                            </div>
                            <div class="cva-box-5">
                                <div class="cva-pic-show">
                                    <h3 class="title">历届IVV奥运会照片展示</h3>
                                    <div class="cva-pic-box">
                                        <ul class="cva-pic-l">
									<?php
											$piclink_sql = "select * from kboy_piclink where news_bigclass=101 order by news_top desc,news_order desc, id desc limit 1";
											$piclink_row = mysql_query($piclink_sql);
											while($piclink_rs = mysql_fetch_array($piclink_row)){
												if($piclink_rs['news_tourls']){
													$news_tourls = $piclink_rs['news_tourls'];
												}else{
													$news_tourls = "javascript:void(0);";
												}
									?>
                                            <li class="ss1">
                                                <a href="<?=$news_tourls?>">
                                                    <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="738" height="345" alt=""/></div>
                                                    <p><?=$piclink_rs['news_title']?></p>
                                                </a>
                                            </li>
									<?php
											}
											
											$piclink_sql = "select * from kboy_piclink where news_bigclass=102 order by news_top desc,news_order desc, id desc limit 1";
											$piclink_row = mysql_query($piclink_sql);
											while($piclink_rs = mysql_fetch_array($piclink_row)){
												if($piclink_rs['news_tourls']){
													$news_tourls = $piclink_rs['news_tourls'];
												}else{
													$news_tourls = "javascript:void(0);";
												}
									?>
                                            <li class="ss2">
                                                <a href="<?=$news_tourls?>">
                                                    <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="360" height="336" alt=""/></div>
                                                    <p><?=$piclink_rs['news_title']?></p>
                                                </a>
                                            </li>
									<?php
											}
											$piclink_sql = "select * from kboy_piclink where news_bigclass=103 order by news_top desc,news_order desc, id desc limit 1";
											$piclink_row = mysql_query($piclink_sql);
											while($piclink_rs = mysql_fetch_array($piclink_row)){
												if($piclink_rs['news_tourls']){
													$news_tourls = $piclink_rs['news_tourls'];
												}else{
													$news_tourls = "javascript:void(0);";
												}
									?>
                                            <li class="ss2">
                                                <a href="<?=$news_tourls?>">
                                                    <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="360" height="336" alt=""/></div>
                                                    <p><?=$piclink_rs['news_title']?></p>
                                                </a>
                                            </li>
									<?php
											}
									?>
                                        </ul>
                                        <ul class="cva-pic-r">
									<?php
											$piclink_sql = "select * from kboy_piclink where news_bigclass=104 order by news_top desc,news_order desc, id desc limit 1";
											$piclink_row = mysql_query($piclink_sql);
											while($piclink_rs = mysql_fetch_array($piclink_row)){
												if($piclink_rs['news_tourls']){
													$news_tourls = $piclink_rs['news_tourls'];
												}else{
													$news_tourls = "javascript:void(0);";
												}
									?>
                                            <li>
                                                <a href="<?=$news_tourls?>">
                                                    <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="444" height="221" alt=""/></div>
                                                    <p><?=$piclink_rs['news_title']?></p>
                                                </a>
                                            </li>
									<?php
											}
											$piclink_sql = "select * from kboy_piclink where news_bigclass=105 order by news_top desc,news_order desc, id desc limit 1";
											$piclink_row = mysql_query($piclink_sql);
											while($piclink_rs = mysql_fetch_array($piclink_row)){
												if($piclink_rs['news_tourls']){
													$news_tourls = $piclink_rs['news_tourls'];
												}else{
													$news_tourls = "javascript:void(0);";
												}
									?>
                                            <li>
                                                <a href="<?=$news_tourls?>">
                                                    <div class="pic"><img src="<?=$piclink_rs['news_pic']?>" width="444" height="221" alt=""/></div>
                                                    <p><?=$piclink_rs['news_title']?></p>
                                                </a>
                                            </li>
									<?php
											}
									?>
											
                                            <li>
                                                <a href="#">
                                                    <span class="more-pic"><img src="images/more.png" width="38" height="38" alt=""></span>
                                                    <span class="more">MORE</span>
                                                </a>
                                            </li>
                                        </ul>
                                    </div>
                                    <div class="cva-host-p">
                                        <div class="c-host-list">
                                            <div class="hd">
                                                <a class="next"></a>
                                                <!--<ul></ul>-->
                                                <a class="prev"></a>
                                            </div>
                                            <div class="bd">
                                                <ul>
								<?php
										$news_sql = "select * from kboy_news where news_bigclass=100 order by news_top desc,news_order desc, id desc limit 20";
										$news_rows = mysql_query($news_sql);
										while($news_rs = mysql_fetch_array($news_rows)){
								?>
											<li>
												<div class="c-box">
													<p class="time"><?=$news_rs['news_text']?></p>
													<img src="<?=$news_rs['news_pic']?>" width="100" height="67" alt=""/>
													<p class="name"><?=$news_rs['news_title']?></p>
												</div>
											</li>
								<?php
										}
								?>

                                                </ul>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--foot begin-->
	<? include("_include.bottom.footbar.php") ?>
    <!--foot begin-->
    <!--左侧悬浮 begin-->
	<? include("_include.bottom.leftbar.php") ?>
    <!--左侧悬浮 end-->
    <!--右侧悬浮导航 begin-->
	<? include("_include.bottom.rightbar.php") ?>
    <!--右侧悬浮导航 end-->
    <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="js/jquery.SuperSlide.2.1.1.js"></script>
    <script type="text/javascript" src="js/main.js"></script>
    <script type="text/javascript" src="js/ivv.js"></script>
</body>
</html>
